﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Com.Framework;
using Com.Framework.Data;
using Com.Library.DB.Menu;
using Com.Web.coffinegurunaru.AppLogic.Page;

namespace Com.Web.coffinegurunaru.menu
{
	public partial class bakery_dessert : WebPage
	{
		protected void Page_Load(object sender, EventArgs e)
		{
			byte PageSize = 9;
			int PageNo = Request.QueryString["PageNo"].Parse(1);
			this.LeftMenuType = 503;
			ListData<MenuEntity, OutputEntity> MenuData = MenuModel.GetList(11, PageNo, PageSize);
			UC_GoodsList.MenuList = MenuData.Record;
			UC_GoodsList.ViewQuery = "PageNo=" + PageNo.ToString();

			UC_Paging.TotalCount = MenuData.Output.CntTotal;
			UC_Paging.PageName = "PageNo";
			UC_Paging.PageNo = PageNo;
			UC_Paging.PageSize = PageSize;
		}
	}
}
